import {Pipe, PipeTransform} from '@angular/core';

@Pipe({
    name: 'kylinConvertingDate'
})
export class ConvertingDatePipe implements PipeTransform {

    transform(value: number, args?: any): any {
        return new Date(value);
    }

}
